package com.asset.dispoal.nature.api;

import com.asset.dispoal.nature.dto.requset.GbNatureRequest;
import com.asset.dispoal.nature.dto.response.GbNatureResponse;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

/**
 * 性质管理服务接口
 *
 * @author: mhuang
 * @date: 2022-02-25 13:21:21
 */
public interface GbNatureService {

    /**
     * 添加
     *
     * @param gbNatureRequest
     */
    Result insert(GbNatureRequest gbNatureRequest);

    /**
     * 删除
     *
     * @param id
     */
    void delete(GbNatureRequest request);


    /**
     * 修改
     *
     * @param gbNatureRequest
     */
    Result update(GbNatureRequest gbNatureRequest);

    /**
     * 查询
     *
     * @param gbNatureRequest
     * @return
     */
    Result<PageVO<GbNatureResponse>> queryPage(GbNatureRequest gbNatureRequest);

}